package com.woniu.adapter;

import com.woniu.config.FeignConfig;
import com.woniu.utils.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "erp-pro-plan", qualifier = "provider1", configuration = FeignConfig.class)
public interface PurchaseOpenFein {
    @PostMapping("updatePurStatus")
    public ResponseResult<String> updatePurStatusById(@RequestParam("id")Long id,@RequestParam("status") String status);
}
